package org.gap.dao;

import java.util.Set;

import org.gap.domain.Relations;

import org.skyway.spring.util.dao.JpaDao;

import org.springframework.dao.DataAccessException;

/**
 * DAO to manage Relations entities.
 * 
 */
public interface RelationsDAO extends JpaDao<Relations> {

	/**
	 * JPQL Query - findRelationsByRelRelation
	 *
	 */
	public Relations findRelationsByRelRelation(String relRelation) throws DataAccessException;

	/**
	 * JPQL Query - findRelationsByRelRelation
	 *
	 */
	public Relations findRelationsByRelRelation(String relRelation, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findRelationsByRelLibelleAscContaining
	 *
	 */
	public Set<Relations> findRelationsByRelLibelleAscContaining(String relLibelleAsc) throws DataAccessException;

	/**
	 * JPQL Query - findRelationsByRelLibelleAscContaining
	 *
	 */
	public Set<Relations> findRelationsByRelLibelleAscContaining(String relLibelleAsc, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findRelationsByRelType
	 *
	 */
	public Set<Relations> findRelationsByRelType(String relType) throws DataAccessException;

	/**
	 * JPQL Query - findRelationsByRelType
	 *
	 */
	public Set<Relations> findRelationsByRelType(String relType, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findRelationsByRelRelationContaining
	 *
	 */
	public Set<Relations> findRelationsByRelRelationContaining(String relRelation_1) throws DataAccessException;

	/**
	 * JPQL Query - findRelationsByRelRelationContaining
	 *
	 */
	public Set<Relations> findRelationsByRelRelationContaining(String relRelation_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findRelationsByRelTypeContaining
	 *
	 */
	public Set<Relations> findRelationsByRelTypeContaining(String relType_1) throws DataAccessException;

	/**
	 * JPQL Query - findRelationsByRelTypeContaining
	 *
	 */
	public Set<Relations> findRelationsByRelTypeContaining(String relType_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findRelationsByPrimaryKey
	 *
	 */
	public Relations findRelationsByPrimaryKey(String relRelation_2) throws DataAccessException;

	/**
	 * JPQL Query - findRelationsByPrimaryKey
	 *
	 */
	public Relations findRelationsByPrimaryKey(String relRelation_2, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findRelationsByRelLibelleDesc
	 *
	 */
	public Set<Relations> findRelationsByRelLibelleDesc(String relLibelleDesc) throws DataAccessException;

	/**
	 * JPQL Query - findRelationsByRelLibelleDesc
	 *
	 */
	public Set<Relations> findRelationsByRelLibelleDesc(String relLibelleDesc, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAllRelationss
	 *
	 */
	public Set<Relations> findAllRelationss() throws DataAccessException;

	/**
	 * JPQL Query - findAllRelationss
	 *
	 */
	public Set<Relations> findAllRelationss(int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findRelationsByRelLibelleDescContaining
	 *
	 */
	public Set<Relations> findRelationsByRelLibelleDescContaining(String relLibelleDesc_1) throws DataAccessException;

	/**
	 * JPQL Query - findRelationsByRelLibelleDescContaining
	 *
	 */
	public Set<Relations> findRelationsByRelLibelleDescContaining(String relLibelleDesc_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findRelationsByRelLibelleAsc
	 *
	 */
	public Set<Relations> findRelationsByRelLibelleAsc(String relLibelleAsc_1) throws DataAccessException;

	/**
	 * JPQL Query - findRelationsByRelLibelleAsc
	 *
	 */
	public Set<Relations> findRelationsByRelLibelleAsc(String relLibelleAsc_1, int startResult, int maxRows) throws DataAccessException;

}